package com.iximo.openAPI;

import java.io.InputStream;

import com.iximo.domain.Member;


public interface IximoOpenAPIPost {
	/**
	 * 登录
	 * @param clientType
	 * @param email
	 * @param password
	 */
	public Member login(int clientType, String email, String password) throws Exception;
	public Member loginData(InputStream inStream) throws Exception;
	/**
	 * 发表评论
	 * @param bookId
	 * @param comment
	 * @param commentId
	 */
	public int sendComment(int bookId, String comment, int commentId) throws Exception;
	/**
	 * 注册用户
	 */
	public Member register(int clientType, String email, String password) throws Exception;
	public Member registerData(InputStream inStream) throws Exception;
	/**
	 * 修改用户信息
	 */
	public int modifyProfile(String username, 
			int gender, String qq, String msn, String phone) throws Exception;
	
}
